Packetery\Module\Order\Repository A

Total Complexity 67
Dependencies 20
Dependents 24
Total lines 666
Lines of code 375
Logical lines of code 163
Comment lines 206
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
findStatusSyncingOrderIds()
A
42 13 51
processClauses()
A
48 7 33
orderToDbArray()
S
44 5 45
getByIds()
S
50 5 29
getByWcOrder()
S
57 5 17
onBeforeDataInsertion()
S
50 4 28
findById()
S
59 4 15
applyCustomFilters()
S
62 3 11
getWcOrderJoinClause()
S
57 2 21
createOrAlterTable()
S
54 1 34
countOrders()
S
56 2 18
deleteOrphans()
S
59 2 15
getById()
S
68 2 7
deletedPostHook()
S
74 2 5
getWcOrderById()
S
69 2 7
getDataById()
S
64 1 11
delete()
S
74 1 4
__construct()
S
67 1 8
countOrdersToPrint()
S
79 1 3
countOrdersToSubmit()
S
79 1 3
save()
S
80 1 3
drop()
S
79 1 3
saveData()
S
75 1 4